//
//  ServerAPISetting.h
//  DCF
//
//  Created by 吴文拼 on 2017/12/26.
//  Copyright © 2017年 吴文拼. All rights reserved.
//

#ifndef ServerAPISetting_h
#define ServerAPISetting_h

#pragma mark ----服务器地址----


#if defined(DEBUG)
//测试
//#define DCF_SERVER_HOST_NAME @"http://192.168.11.206:9125"
//线上
#define DCF_SERVER_HOST_NAME @"http://superbk.dabaiqianbao.com"

#else

//线上
#define DCF_SERVER_HOST_NAME @"http://superbk.dabaiqianbao.com"

#endif

#define DCF_NORMAL_UNLINK_NET_TOAST @"网络错误，请稍后再试"


#pragma mark ---- 接口 ----
//检查IP归属
#define DCF_SHOW_PART_CHECK_IP [NSString stringWithFormat:@"%@%@",DCF_SERVER_HOST_NAME,@"/user/tool/checkIP"]

#pragma mark ---- 注册登录 ----
//检查手机号是否已经注册
#define DCF_LOGIN_PART_CHECK_PHONENUMBER [NSString stringWithFormat:@"%@%@",DCF_SERVER_HOST_NAME,@"/user/register/checkPhoneHasRegister"]
//用户注册
#define DCF_LOGIN_PART_USER_REGISTER [NSString stringWithFormat:@"%@%@",DCF_SERVER_HOST_NAME,@"/user/register/registerUser"]
//发送注册验证码
#define DCF_LOGIN_PART_GET_REGISTER_CODE [NSString stringWithFormat:@"%@%@",DCF_SERVER_HOST_NAME,@"/user/register/sendRegVerifyCode"]
//用户登录
#define DCF_LOGIN_PART_USER_LOGIN [NSString stringWithFormat:@"%@%@",DCF_SERVER_HOST_NAME,@"/user/login/loginUser"]
//重置用户密码
#define DCF_LOGIN_PART_USER_RESET_PWD [NSString stringWithFormat:@"%@%@",DCF_SERVER_HOST_NAME,@"/user/login/resetPassword"]
//发送重置密码验证码
#define DCF_LOGIN_PART_USER_RESETPWD_GET_CODE [NSString stringWithFormat:@"%@%@",DCF_SERVER_HOST_NAME,@"/user/login/sendResetPassVerifyCode"]


#endif /* ServerAPISetting_h */
